package top.chmin.project.cloud.common.entity.column.auto;

// field import auto
// #bind.field.fieldCode#

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RestController;
import top.chmin.project.cloud.common.entity.Page;

import java.util.List;

/**
 * chmin
 * 2023-12-27 15:10:14
 * cloud-builder
 */
@RestController
public class EntityColumnController implements
// entity selectInterface auto
// entity selectInterface auto
        EntityColumnFieldCodeSelect,

// entity searchInterface auto
        EntityColumnSave,
        EntityColumnUpdateById,
        EntityColumnDeleteById,
        EntityColumnSelectById,
        EntityColumnSelectPage {

    @Resource
    EntityColumnService service;

    @Override
    public int save(EntityColumnSave.Param param) {
        return service.save(param);
    }

    @Override
    public int updateById(EntityColumnUpdateById.Param param) {
        return service.updateById(param);
    }

    @Override
    public int deleteById(EntityColumnDeleteById.Param param) {
        return service.deleteById(param);
    }

    @Override
    public EntityColumnSelectById.Result selectById(EntityColumnSelectById.Param param) {
        return service.selectById(param);
    }

    @Override
    public Page<EntityColumnSelectPage.Result> selectPage(EntityColumnSelectPage.Param param) {
        return service.selectPage(param);
    }

// entity select auto
// entity select auto
@Override
public List<EntityColumnFieldCodeSelect.Result> selectFieldCode(EntityColumnFieldCodeSelect.Param param) {
    return service.selectFieldCode(param);
}



// entity search auto

}
